const aFunction = () => {
    return Promise.resolve('测试')
}

const heiha = (abc) => {
    console.log(abc)
    console.log('heiha')
}

aFunction().then(heiha)

